<div id="contact_members">
<?php if(count($models)>0): foreach($models as $member): ?>
    <table class="ui-widget-content ui-corner-all" style="width:100%;">
        <tr>
            <th class="label ui-widget-header">
                <?php echo CHtml::encode($member->getAttributeLabel('type')) ?>
            </th>
            <td>
                <?php echo CHtml::encode($member->type); ?>
            </td>
        </tr>
        <tr>
            <th class="label ui-widget-header">
                <?php echo CHtml::encode($member->getAttributeLabel('person_name')) ?>
            </th>
            <td>
                <?php echo CHtml::encode($member->person_name); ?>
            </td>
        </tr>
        <tr>
            <th class="label ui-widget-header">
                <?php echo CHtml::encode($member->getAttributeLabel('tel')) ?>
            </th>
            <td>
                <?php echo CHtml::encode($member->tel); ?>
            </td>
        </tr>
        <tr>
            <th class="label ui-widget-header">
                <?php echo CHtml::encode($member->getAttributeLabel('fax')) ?>
            </th>
            <td>
                <?php echo CHtml::encode($member->fax); ?>
            </td>
        </tr>
        <tr>
            <th class="label ui-widget-header">
                <?php echo CHtml::encode($member->getAttributeLabel('mobile')) ?>
            </th>
            <td>
                <?php echo CHtml::encode($member->mobile); ?>
            </td>
        </tr>
        <tr>
            <th class="label ui-widget-header">
                <?php echo CHtml::encode($member->getAttributeLabel('mobile')) ?>
            </th>
            <td>
                <?php echo CHtml::encode($member->mobile); ?>
            </td>
        </tr>
        <tr>
            <th class="label ui-widget-header">
                <?php echo CHtml::encode($member->getAttributeLabel('email')) ?>
            </th>
            <td>
                <?php echo CHtml::encode($member->email); ?>
            </td>
        </tr>
    </table>
    <?php endforeach; else: ?>
    <h4>No employee is being registered.</h4>
    <?php endif; ?>
</div>
